package com.wanmait.recruitment.pojo;

import java.io.Serializable;
import java.util.Date;

public class Products implements Serializable {
    private Integer id;

    /**
	* 公司id
	*/
    private Company company;

    /**
	* 产品名
	*/
    private String name;

    /**
	* 产品链接
	*/
    private String url;

    /**
	* 产品描述
	*/
    private String describe;

    /**
	* 产品图片
	*/
    private String img;

    /**
	* 添加时间
	*/
    private Date inputTime;

    private Boolean enable;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Company getCompany() {
        return company;
    }

    public void setCompany(Company company) {
        this.company = company;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getDescribe() {
        return describe;
    }

    public void setDescribe(String describe) {
        this.describe = describe;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public Date getInputTime() {
        return inputTime;
    }

    public void setInputTime(Date inputTime) {
        this.inputTime = inputTime;
    }

    public Boolean getEnable() {
        return enable;
    }

    public void setEnable(Boolean enable) {
        this.enable = enable;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", company=").append(company);
        sb.append(", name=").append(name);
        sb.append(", url=").append(url);
        sb.append(", describe=").append(describe);
        sb.append(", img=").append(img);
        sb.append(", inputTime=").append(inputTime);
        sb.append(", enable=").append(enable);
        sb.append("]");
        return sb.toString();
    }
}